package top.healthylife.gateway.platform.kjt.api.dto;


import lombok.Data;
import lombok.experimental.Accessors;
import top.healthylife.gateway.dto.annotation.ApiField;

import javax.validation.constraints.NotNull;

/**
 * @author GaoZexi
 * @datetime 2020/3/20 13:20
 */
@Data
@Accessors(chain = true)
public class DemoDto {

    /**
     * 传递名称
     */
    @NotNull(message = "名称不能为空")
    @ApiField("名称")
    String name;
}
